#include "HelpOp.h"
#include <QApplication>

HelpOp::HelpOp(): GenericOperation(qApp->translate("Operations", "Help").toStdString())
{
}


void HelpOp::operator()(const genericinterface::ImageWindow* currentWnd, const std::vector<const genericinterface::ImageWindow*>&){
    HelpDialog * dialog = new HelpDialog();

    QDialog::DialogCode code = static_cast<QDialog::DialogCode>(dialog->exec());

    if(code!=QDialog::Accepted) {
        return;
    }
}
